/**
* ...
* @author Default
* @version 0.1
*/

package fr.red5.events {

	import flash.events.*;
	
	public class SharedObjectEvent extends Event {
		
		public static const UPDATE:String = "change"
		public static const DELETE:String = "delete"
		public static const SYNCHRONIZATION:String = "synchronisation"
		
		private var _name:String
		private var _oldValue:*;
		private var _value:*;
		
		public function SharedObjectEvent(name:String)
		{
			super(name, true, false);
		}
		
		
		public function set name(n:String):void 
		{
			_name = n;
		}
		
		public function get name():String 
		{
			return _name;
		}
		
		public function set oldValue(d:*):void
		{
			_oldValue = d;
		}
		
		public function get oldValue():*
		{
			return _oldValue;
		}

		public function set value(d:*):void
		{
			_value = d;
		}
		
		public function get value():*
		{
			return _value;
		}
		
	}
	
}
